<template>
	<view class="page">
		<view
			class="flex flex-direction flex-wrap align-stretch justify-center benben-position-layout flex logOutSubmit_flex_0"
			:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex flex-wrap align-stretch justify-between logOutSubmit_fd0_0'>
				<view class='flex flex-wrap align-center logOutSubmit_fd0_0_c0' @tap.stop="handleJumpDiy"
					data-type="back" data-url="1">
					<image class='logOutSubmit_fd0_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"56.png"'></image>
				</view>
				<view class='flex flex-wrap align-center'>
					<text class='logOutSubmit_fd0_0_c1_c0'>注销账号</text>
				</view>
				<view class='flex align-center justify-end logOutSubmit_fd0_0_c2'>
				</view>
			</view>

		</view>
		<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
		<!---账号提交成功flex布局开始-->
		<view class="flex flex-direction flex-wrap align-center benben-flex-layout logOutSubmit_flex_1"
			v-if="unsetInfo.status=='-1'">
			<image class='logOutSubmit_fd1_0' mode="aspectFit" :src='STATIC_URL+"87.png"'></image>
			<text class='logOutSubmit_fd1_1'>注销申请提交成功！</text>
			<text class='logOutSubmit_fd1_2'>我们工作人员将会对您的账号进行审核，审核通过后， 账号将会被注销，请知悉</text>
		</view>
		<!---账号提交成功flex布局结束-->
		<!---注销账号提交处理中flex布局开始-->
		<view class="flex flex-direction flex-wrap align-center benben-flex-layout logOutSubmit_flex_2"
			v-if="unsetInfo.status!='-1'">
			<image class='logOutSubmit_fd2_0' mode="aspectFit" :src='STATIC_URL+"88.png"'></image>
			<text class='logOutSubmit_fd2_1'>处理中</text>
			<view class='flex flex-wrap align-center logOutSubmit_fd2_2'>
				<text>注销理由：</text>
				<text>{{unsetInfo.reason}}</text>
			</view>
		</view>
		<!---注销账号提交处理中flex布局结束-->

	</view>
</template>
<script>
	export default {
		components: {},

		data() {
			return {
				"unsetInfo": {
					"status": "",
					"rule": "",
					"reason": ""
				}
			};
		},
		computed: {

		},
		watch: {},
		onLoad(options) {
			this.getUnset();
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//获取账户注销状态和协议
			async getUnset() {
				let resData = await this.$api.post(global.apiUrls.post60fa2181a3e84)
				if (resData.data.code != 1) {
					this.$message.info(resData.data.msg)
					return
				}
				this.unsetInfo = resData.data.data
			}
		}
	};
</script>
<style lang="scss" scoped>
	.logOutSubmit_fd2_0 {
		width: 190rpx;
		height: 190rpx;
	}

	.logOutSubmit_fd2_1 {
		font-size: 32rpx;
		font-weight: 700;
		color: #000000;
		margin: 40rpx 0rpx 30rpx 0rpx;
	}

	.logOutSubmit_fd2_2 {
		color: #666666;
		font-size: 28rpx;
		line-height: 36rpx;
		font-weight: 400;
	}

	.logOutSubmit_flex_2 {
		padding: 88rpx 0rpx 0rpx 0rpx;
	}

	.logOutSubmit_fd1_0 {
		width: 190rpx;
		height: 190rpx;
	}

	.logOutSubmit_fd1_1 {
		font-size: 32rpx;
		font-weight: 700;
		color: #000000;
		margin: 40rpx 0rpx 30rpx 0rpx;
	}

	.logOutSubmit_fd1_2 {
		font-size: 28rpx;
		font-weight: 400;
		color: #666666;
		text-align: center;
	}

	.logOutSubmit_flex_1 {
		padding: 88rpx 39rpx 0rpx 39rpx;
	}

	.logOutSubmit_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		line-height: 88rpx;
	}

	.logOutSubmit_fd0_0_c0 {
		width: 100rpx;
	}

	.logOutSubmit_fd0_0_c0_c0 {
		width: 20rpx;
		height: 36rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.logOutSubmit_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 50rpx;
	}

	.logOutSubmit_fd0_0_c2 {
		padding: 0rpx 0rpx 0rpx 0rpx;
		width: 100rpx;
	}

	.logOutSubmit_flex_0 {
		border-bottom: 1px solid #eee;
		background: #fff;
		background-size: 100% !important;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.page {
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto !important;
	}
</style>
